﻿<?xml version="1.0" encoding="utf-8"?>
<FilterCategories>

  <Category    Title="Author"
               Description="Use this filter to restrict results authored by a specific author"
               Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"
               MetadataThreshold="1"
               NumberOfFiltersToDisplay="4"
               MaxNumberOfFilters="20"
               ShowMoreLink="True"
               MappedProperty="otauthorname"
               MoreLinkText="show more"
               LessLinkText="show fewer"
               ShowCounts="Count" />
  <Category    Title="Modified Date"    Description="When the item was last updated"
               Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"    MetadataThreshold="1"    NumberOfFiltersToDisplay="6"    SortBy="Custom"    ShowMoreLink="False"
               MappedProperty="otmessagedate"    ShowCounts="Count" >
    <CustomFilters MappingType="RangeMapping" DataType="Date" ValueReference="Relative" ShowAllInMore="False">
      <CustomFilter CustomValue="Past 24 Hours">
        <OriginalValue>-1..</OriginalValue>
      </CustomFilter>
      <CustomFilter CustomValue="Past Week">
        <OriginalValue>-7..</OriginalValue>
      </CustomFilter>
      <CustomFilter CustomValue="Past Month">
        <OriginalValue>-30..</OriginalValue>
      </CustomFilter>
      <CustomFilter CustomValue="Past Six Months">
        <OriginalValue>-183..</OriginalValue>
      </CustomFilter>
      <CustomFilter CustomValue="Past Year">
        <OriginalValue>-365..</OriginalValue>
      </CustomFilter>
      <CustomFilter CustomValue="Earlier">
        <OriginalValue>..-365</OriginalValue>
      </CustomFilter>
    </CustomFilters>
  </Category>
  <Category Title="Tags"
          Description="All managed metadata of the documents and social tags"
          Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"
          MetadataThreshold="1"
          NumberOfFiltersToDisplay="4"
          MaxNumberOfFilters="20"
          ShowMoreLink="True"
          MappedProperty="othashtag"
          MoreLinkText="show more"
          LessLinkText="show fewer"
          ShowCounts="Count" />
  <!--<Category Title="Mentions"
          Description="All managed metadata of the documents and social tags"
          Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"
          MetadataThreshold="1"
          NumberOfFiltersToDisplay="4"
          MaxNumberOfFilters="20"
          ShowMoreLink="True"
          MappedProperty="otmention"
          MoreLinkText="show more"
          LessLinkText="show fewer"
          ShowCounts="Count" />-->
</FilterCategories>